using System;
using Microsoft.SPOT;
using Netduino4Fun.Framework.ElectronicBrick;
using Netduino4Fun.Framework;
using SecretLabs.NETMF.Hardware.NetduinoPlus;
using System.Threading;

namespace Netduino4Fun.Robot
{
    public class RobotTestController2
    {
        RangeSensor rangeSensor = new RangeSensor(Pins.GPIO_PIN_A1);

        public void Start()
        {
            while (true)
            {
                Debug.Print(rangeSensor.Value.ToString());
                Thread.Sleep(200);
            }
        }
    }
}
